package com.chengyu.eyc.model;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "eyc_parm_pickup_car")
public class EycParmPickupCar extends BaseModel implements Serializable {
    @Id
    @Column(name = "PARM_PICKUP_CAR_ID")
    private String parmPickupCarId;

    /**
     * 每日上门接车的台数
     */
    @Column(name = "NUM_OF_CAR_PICKUP_DAILY")
    private Integer numOfCarPickupDaily;

    /**
     * 上门提车费用
     */
    @Column(name = "PRICE_PICKUP")
    private Integer pricePickup;

    /**
     * 逻辑删除
     */
    private Boolean deleted;

    private static final long serialVersionUID = 1L;

    /**
     * @return PARM_PICKUP_CAR_ID
     */
    public String getParmPickupCarId() {
        return parmPickupCarId;
    }

    /**
     * @param parmPickupCarId
     */
    public void setParmPickupCarId(String parmPickupCarId) {
        this.parmPickupCarId = parmPickupCarId == null ? null : parmPickupCarId.trim();
    }

    /**
     * 获取每日上门接车的台数
     *
     * @return NUM_OF_CAR_PICKUP_DAILY - 每日上门接车的台数
     */
    public Integer getNumOfCarPickupDaily() {
        return numOfCarPickupDaily;
    }

    /**
     * 设置每日上门接车的台数
     *
     * @param numOfCarPickupDaily 每日上门接车的台数
     */
    public void setNumOfCarPickupDaily(Integer numOfCarPickupDaily) {
        this.numOfCarPickupDaily = numOfCarPickupDaily;
    }

    /**
     * 获取上门提车费用
     *
     * @return PRICE_PICKUP - 上门提车费用
     */
    public Integer getPricePickup() {
        return pricePickup;
    }

    /**
     * 设置上门提车费用
     *
     * @param pricePickup 上门提车费用
     */
    public void setPricePickup(Integer pricePickup) {
        this.pricePickup = pricePickup;
    }

    /**
     * 获取逻辑删除
     *
     * @return deleted - 逻辑删除
     */
    public Boolean getDeleted() {
        return deleted;
    }

    /**
     * 设置逻辑删除
     *
     * @param deleted 逻辑删除
     */
    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", parmPickupCarId=").append(parmPickupCarId);
        sb.append(", numOfCarPickupDaily=").append(numOfCarPickupDaily);
        sb.append(", pricePickup=").append(pricePickup);
        sb.append(", deleted=").append(deleted);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}